The study of the interaction of electromagnetic radiation with electrically charged matter within the framework of relativity and quantum mechanics